# Contributor: Dennis Krupenik <dennis@krupenik.com>
# Maintainer: Dennis Krupenik <dennis@krupenik.com>
pkgname=inxi
pkgver=3.3.19
_pkgver="$pkgver"-1
pkgrel=0
pkgdesc="Fully featured CLI system information tool"
options="!check" # no upstream tests
url="https://github.com/smxi/inxi"
arch="noarch"
license="GPL-3.0-or-later"
depends="perl"
subpackages="$pkgname-doc"
source="https://github.com/smxi/inxi/archive/$_pkgver/inxi-$_pkgver.tar.gz"
builddir="$srcdir/inxi-$_pkgver"

package() {
	install -Dm0755 inxi -t "$pkgdir"/usr/bin
	install -Dm0644 inxi.1 -t "$pkgdir"/usr/share/man/man1
}

sha512sums="
4b324dae190a0129c1053cc32f190b82a3602bd9cf3b219232e48357ad8cc274622e4fa83f8d2ba669cc1fd006e6d1a1efafb19716801bc0fd0bd849eace3d3f  inxi-3.3.19-1.tar.gz
"
